package com.sinan.core.connector;

import com.google.auto.service.AutoService;
import com.sinan.core.connector.components.PropertyContext;

/**
 * @author pengpei
 * @date 2025-06-10
 */
@AutoService(ConnectorFactory.class)
public class MySQLConnectorFactory implements ConnectorFactory {

    @Override
    public String getName() {
        return "MySQL";
    }

    @Override
    public Connector create(PropertyContext propertyContext) {
        return new MySQLConnector(propertyContext);
    }
}
